package com.company.project.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.company.project.entity.SysContentEntity;
import com.company.project.mapper.SysContentMapper;
import com.company.project.service.SysContentService;
import com.company.project.vo.resp.SysContentBrief;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

/**
 * 内容 服务类
 *
 * @author
 * @version V1.0
 * @date 2020年3月18日
 */
@Service("sysContentService")
public class SysContentServiceImpl extends ServiceImpl<SysContentMapper, SysContentEntity> implements SysContentService {

	@Resource
	private SysContentMapper sysContentMapper;
	
	@SuppressWarnings("rawtypes")
	@Override
	public IPage<SysContentBrief> getList(Page page,String type) {
		return sysContentMapper.getList(page, type);
	}


}